package benny.ApkposStore.utils;

import java.util.HashMap;
import java.util.List;

import android.app.Application;
import benny.ApkposStore.model.Dish_class;
import benny.ApkposStore.model.Floor;
import benny.ApkposStore.model.Make_tbl;
import benny.ApkposStore.model.Room;
import benny.ApkposStore.model.View_dian;


public class Apkglobal extends Application {
	static boolean key_false = false;
	static String user_id = null;
	static String pos_id = "";
	static String user_name = null;
	static String token = null;
	static String SHOPNAME = "艾博科酒家";
	static String COMPANY_NAME = "艾博科酒家";
    static Apkglobal instance;
	static int currentapiVersion = 8;
	static List<View_dian> cainamelist = null;
	static List<View_dian> cainamelist1=null;
	static List<Make_tbl> maketbllist = null;
	static List<Dish_class> dishtypelist1 = null;
	static List<Dish_class> dishtypelist2 = null;
	static List<Room> roomlist = null;
	static List<Floor> floorlist = null;
	static String realname = "艾博科";
	static String CDKEY = "";
	static String UUID = "";
	static HashMap<String, String> print_map = null;
	static HashMap<String, String> pay_map = null;


	public static Apkglobal getInstance() {
		return instance;
	}

	@Override
	public void onCreate() {
		super.onCreate();
		instance = this;
	}

		
	public static HashMap<String, String> getpay_map() {

		return pay_map;
	}

	public static void setpay_map(HashMap<String, String> s) {
		pay_map = s;
	}
	public static HashMap<String, String> getprint_ipmap() {
		
		return print_map;
	}
	
	public static void setprint_ipmap(HashMap<String, String> s) {
		print_map = s;
	}

	public static List<Floor> getfloorlist() {
		return floorlist;
	}
	
	public static void setfloorlist(List<Floor> s) {
		floorlist = s;
	}

	public static List<Room> getroomlist() {
		return roomlist;
	}

	public static void setroomlist(List<Room> s) {
		roomlist = s;
	}

	public static List<Dish_class> getdishtypelist1() {
		return dishtypelist1;
	}

	public static void setdishtypelist1(List<Dish_class> s) {
		dishtypelist1 = s;
	}

	public static List<Dish_class> getdishtypelist2() {
		return dishtypelist2;
	}

	public static void setdishtypelist2(List<Dish_class> s) {
		dishtypelist2 = s;
	}

	public static List<Make_tbl> getmaketbllist() {
		return maketbllist;
	}

	public static void setmaketbllist(List<Make_tbl> s) {
		maketbllist = s;
	}

	public static List<View_dian> getcainamelist() {
		return cainamelist;
	}

	public static void setcainamelist(List<View_dian> s) {
		cainamelist = s;
	}
	public static List<View_dian> getcainamelist1() {
		return cainamelist1;
	}
	
	public static void setcainamelist1(List<View_dian> s) {
		cainamelist1 = s;
	}

	public static int getcurrentapiVersion() {
		return currentapiVersion;
	}

	public static void setcurrentapiVersion(int s) {
		currentapiVersion = s;
	}

	public static boolean getkey_false() {
		return key_false;
	}

	public static void setkey_false(boolean s) {
		key_false = s;
	}

	public static String getuser_id() {
		return user_id;
	}

	public static void setuser_id(String s) {
		user_id = s;
	}

	public static String getuser_name() {
		return user_name;
	}

	public static void setuser_name(String s) {
		user_name = s;
	}

	public static String getrealname() {
		return realname;
	}

	public static void setrealname(String s) {
		realname = s;
	}

	public static String gettoken() {
		return token;
	}

	public static void settoken(String s) {
		token = s;
	}

	public static String getshopname() {
		return SHOPNAME;
	}

	public static void setshopname(String s) {
		SHOPNAME = s;
	}

	public static String getcompanyname() {
		return COMPANY_NAME;
	}

	public static void setcompanyname(String s) {
		COMPANY_NAME = s;
	}

	public static String getcdkey() {
		return CDKEY;
	}

	public static void setcdkey(String s) {
		CDKEY = s;
	}

	public static String getuuid() {
		return UUID;
	}

	public static void setuuid(String s) {
		UUID = s;
	}
	public static String getposid() {
		return pos_id;
	}
	
	public static void setposid(String s) {
		pos_id = s;
	}



}
